using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace ElteIk.RoboSoccer.Graphics
{
	public class DoubleBufferedPanel : Panel
	{
		public DoubleBufferedPanel()
		{
			this.SetStyle(ControlStyles.AllPaintingInWmPaint | 
				ControlStyles.OptimizedDoubleBuffer	| 
				ControlStyles.UserPaint |
				ControlStyles.ResizeRedraw, true);
			this.UpdateStyles();
		}
	}
}
